package cn.sinata.wanglin.database;

import com.bigkoo.pickerview.model.IPickerViewData;

public class ProvinceInfo implements IPickerViewData {
	/**
	 * `province_id` int(20) NOT NULL,
	  `province_name` varchar(50) default NULL,
	  `province_lng` decimal(12,8) default NULL,
	  `province_lat` decimal(12,8) default NULL,
	  `create_date` datetime default NULL,
	  `update_date` datetime default NULL,
	 */
	int province_id;
	String province_name;
	public ProvinceInfo(int province_id, String province_name) {
		super();
		this.province_id = province_id;
		this.province_name = province_name;
	}
	public ProvinceInfo() {
		super();
	}
	public int getProvince_id() {
		return province_id;
	}
	public void setProvince_id(int province_id) {
		this.province_id = province_id;
	}
	public String getProvince_name() {
		return province_name;
	}
	public void setProvince_name(String province_name) {
		this.province_name = province_name;
	}
	@Override
	public String getPickerViewText() {
		return province_name;
	}
	
}
